﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Share_Manage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            try
            {
                if (CurrentAccount.OrgName != null)
                {

                    lblOrgName.Text = CurrentAccount.OrgName;
                }
                if (CurrentAccount.Account.AccountType==1)
                {
                    //CompanyManage.Visible = false;
                    //NoteManage.Visible = false;
                }
            }
            catch (Exception)
            {

                lblOrgName.Text = "管理员";
            }


        }

        if (string.IsNullOrEmpty(Page.Title))
        {
            Page.Title = HZ.BidSystem.Application_Cache.Title;
        }
    }
}
